package com.company.project.upm.entity.modulexxx;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.base.springboot.starter.mybatisplus.domain.GenericBaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * ModelXx
 *
 * @author admin
 * @since 2020-08-20
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "model_xx")
public class ModelXx extends GenericBaseEntity {

    private static final long serialVersionUID = 1L;

    @TableField("name_tmp")
    @ApiModelProperty(value = "名称")
    private String nameTmp;

    @TableField("age")
    @ApiModelProperty(value = "年纪")
    private Integer age;

    @TableField("time")
    @ApiModelProperty(value = "时间")
    private Date time;

    public static final String POST = "name_tmp";

    public static final String AGE = "age";

    public static final String TIME = "time";
}
